<?php
include "includes/ui.php";

echo headerHTML("master"," วิชาสอนพิเศษ");
?>
<script>
var tb="subject";
</script>
<!-- Moldule: Popup -->
<div id="popup" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">

    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
        <h3 id="myModalLabel"><i class="icon-cog"></i> จัดการวิชาสอนพิเศษ</h3>
    </div>
  <form class="form-horizontal">

    <div class="modal-body">

      
            <div class="control-group">
                <label class="control-label" for="inputName"><i class="icon-double-angle-right"></i> วิชาสอนพิเศษ</label>
                <div class="controls">
                    <input type="text" id="txtName" placeholder="รายชื่อวิชา" required>
                </div>
            </div>
 

            <div class="control-group">
                <label class="control-label" for="inputRepeat"><i class="icon-double-angle-right"></i> สถานะการใช้งาน</label>
                <div class="controls">
                    <label class="radio">
                        <span>
                            <input type="radio" name="chk" id='chkY' value="Y" checked> 
                        </span>
                        ใช้งาน
                    </label>
                    <label class="radio">
                        <span>
                            <input type="radio" name="chk" id='chkN'  value="N" > 
                        </span>
                        ยกเลิกใช้งาน
                    </label>
                </div>
            </div>
    </div>
 	
    <div class="modal-footer">

       <button type='submit' class="btn btn-primary" id="btnSave">บันทึก</button>
        <button class="btn" data-dismiss="modal" aria-hidden="true">ยกเลิก</button>
        </form>

    </div>

</div> 
<!-- / Module: Popup --> 
<!-- Live Stats -->
<div class="row-fluid">

    <!-- Pie: Box -->
    <div class="span12">

        <!--  : Top Bar -->
        <div class="top-bar">
            <h3><i class="icon-cog"></i> วิชาสอนพิเศษ</h3>
            <div class='tmp' style='float:right'>
				<a href="#"  ><button class="btn"  style='width:80px;' id='btnPrintDraft' tooltip="Add">พิมพ์</button></a>
                <a href="#popup" data-toggle="modal"><button class="btn btn-primary" id="btnAdd" tooltip="Add">เพิ่ม</button></a>
            </div>
        </div>
        <!-- /  : Top Bar -->
                      

        <!-- Pie: Content -->
        <div class="well no-padding">


            <table class="data-table" id="resultData" >
                <thead style='border-top:1px solid #c2c2c2;border-bottom:1px solid #c2c2c2;'> 
                    <tr >
                        <th style='color:#333 !important;width:50px !important;'>#</th>
						  <th style='color:#333 !important;width:0px;'>0</th>
						    <th style='color:#333 !important;'>วิชาสอนพิเศษ</th>
                        <th style='color:#333 !important;width:150px;'>สถานะ</th>
                        <th style='color:#333 !important;width:100px;' class="center">แก้ไข</th>
                        <th style='color:#333 !important;width:150px;' class="center">ลบ</th>
                    </tr>
                </thead>
                <tbody>
                </tbody>

            </table>

        </div>
        <!-- / Pie: Content -->

    </div>
    <!-- / Pie -->

</div>
<!-- / Live Stats -->

<?php
echo footerHTML();
?>

<!-- Javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src='js/jquery.hotkeys.js'></script>
<!--script src='js/fullcalendar.min.js'></script-->
<script src="js/jquery-ui-1.10.2.custom.min.js"></script>
<script src="js/jquery.pajinate.js"></script>
<!--script src="js/jquery.prism.min.js"></script-->
<script src="js/jquery.dataTables.min.js"></script>

<script src="js/jquery.flot.resize.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/bootstrap-wysiwyg.js"></script>
<!--script src="js/bootstrap-typeahead.js"></script-->
<script src="js/jquery.easing.min.js"></script>
<script src="js/jquery.chosen.min.js"></script>
<script src="js/avocado-custom.js"></script>

<script src="js/jqBootstrapValidation.js"></script>

<script src="js/myScript/js_master.js"></script>

</html>